package com.edgar.log4j.appender.xml;

import java.util.concurrent.TimeUnit;

import org.apache.log4j.Logger;

public class DailyRollingFileAppenderLogging {
	public DailyRollingFileAppenderLogging() {
	}

	/**
	 * @param args
	 *            the command line arguments
	 * @throws InterruptedException
	 */
	public static void main(String[] args) throws InterruptedException {
		Logger logger = Logger.getLogger(DailyRollingFileAppenderLogging.class
				.getName());
		while (true) {
			logger.info("DailyRollingFileAppenderLogging with log4j.xml");
			TimeUnit.SECONDS.sleep(1);
		}
	}
}